import Vue from 'vue'
import App from './App'

import conf from './config.js';
Vue.prototype.$config=conf; 

import store from './store/index.js';
Vue.prototype.$store = store;

import uView from 'uview-ui'
Vue.use(uView)

import globalContact from './pages/home/globalContact.vue'

Vue.component('global-contact', globalContact);
 
	import share from '@/utils/share.js'
	Vue.mixin(share)

Vue.filter('transformSex',function(data){
      switch(data){
		case 0:
		  return '暂无性别';
		  break;
		case 1:
		  return '男';
		  break;
		case 2:
		  return '女';
		  break;
	  }
})

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App,
	store
})
app.$mount()
